<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui">

<h:head><title>TravelDream</title>
	<link href='http://fonts.googleapis.com/css?family=Roboto' rel='stylesheet' type='text/css'/>
</h:head> 

<body> 
<h:outputStylesheet library="css" name="primefaces-style.css"/>
	
	<p:panel header="Admin Console">
	
		<p:panel header="Create Item">
			<h:panelGrid columns="1" cellpadding="3">
			 	<h:link outcome="createTravelPackage" value="new package" />  
			  
			  <h:link outcome="newFlight" value="new flight"/>
			  
			  <h:link outcome="newHotel" value="new hotel"/> 
			  
			  <h:link outcome="newExcursion" value="new excursion"/>
			  </h:panelGrid>
			</p:panel>
			
			<p:panel header="Manage Item">
			<h:panelGrid columns="1" cellpadding="3">
				  
				  <h:link outcome="showAllPackages" value="Manage packages" /> 
				 
				  <h:link outcome="showAllHotels" value="Manage Hotels"/> 
				   
				  <h:link outcome="showAllFlights" value="Manage flights"/>
				   
				  <h:link outcome="showExcursion" value="Manage excursions"/> 
				  
				  <h:link outcome="manageCity" value="Manage city"/>
			  </h:panelGrid>
			</p:panel>
			
			<p:panel header="Manage User">
			<h:panelGrid columns="1" cellpadding="3">
				 <h:link outcome="manageUser" value="All Costumer"/>
			  </h:panelGrid>
			</p:panel>
		
			  
			  <h:form>
				<p:commandButton id="logoutButton" value="logout" action="#{logout.logout()}"/>
			</h:form>
		
	
	</p:panel>
		 
		  			  
</body> 
</html>